﻿@model SpielMitMirFinalProject.ModelViews.ChatMessage
<li class="clearfix" style="list-style-type: none;">
    <span class="chat-img pull-right">
        <img src=@Model.img alt="User Avatar" style="height:40px; width:40px" class="img-circle">
    </span>
    <div class="chat-body clearfix">
        <div class="header">
            <small class=" text-muted"><span class="glyphicon glyphicon-time"></span>@Model.time</small>
            <strong class="pull-right primary-font">@Model.sender</strong>
        </div>
        <p>
            @Model.message
        </p>
    </div>
</li>